package com.ymatou.iapi.cardservice.service;

import org.json.JSONObject;

import com.ymttest.business.YmatouAutoTestCall;
import com.ymttest.utils.EnvSetup;
import com.ymttest.utils.MapUtil;

public class CheckAccountEntryCall extends YmatouAutoTestCall{
	private static String opurl ="/api/card/checkAccountEntry";
	
	public CheckAccountEntryCall() {
		super(EnvSetup.getSystemUrl("cardservice"),opurl,"POST","JSON");
	}
	@Override
	public void addDefHeader() {
		client.addHeader("Content-Type", "application/json; charset=UTF-8");
	}
	

	public JSONObject call(String cardId,int bizCode,String bizNo){
		return this.callAndGetReturnData(MapUtil.hashMap("cardId", cardId,"bizCode",bizCode,"bizNo",bizNo));
	}
	
	
}
